// 设置请求域名
const ENV = wx.getAccountInfoSync().miniProgram.envVersion
let httpUrl = ''
let uploadUrl=''
if (ENV == 'develop') {
  // 测试版开发环境域名
  httpUrl ='http://127.0.0.1:8001'
  uploadUrl='https://cool-file-1300398902.cos.ap-nanjing.myqcloud.com'
} else if (ENV == 'trial') {
  // // 体验版环境域名
  httpUrl = 'http://127.0.0.1:8001'
  uploadUrl='https://cool-file-1300398902.cos.ap-nanjing.myqcloud.com'
} else if (ENV == 'release') {
  // 线上环境域名
  httpUrl = 'http://127.0.0.1:8001'
  uploadUrl='https://cool-file-1300398902.cos.ap-nanjing.myqcloud.com'
}
export default {httpUrl,uploadUrl}